﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QLab.UX
{
    public enum ToolWindowType
    {
        SolutionExplorer, Console, Variables, FunctionEditor, None
    }

    public class EnumsEngine
    {
        public static ToolWindowType GetToolWindowType(string s)
        {
            return (ToolWindowType)Enum.Parse(typeof(ToolWindowType), s);
        }

        public static string GetToolWindowName(ToolWindowType t)
        {
            return t.ToString();
        }
    }
}
